home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / usr / share / initramfs-tools / hooks / thermal < prev    next >
Text File  |  2008-06-11  |  729b  |  44 lines

  1. #!/bin/sh
  2.  
  3. PREREQ=""
  4.  
  5. prereqs()
  6. {
  7.     echo "$PREREQ"
  8. }
  9.  
  10. case $1 in
  11. # get pre-requisites
  12. prereqs)
  13.     prereqs
  14.     exit 0
  15.     ;;
  16. esac
  17.  
  18. # Hooks for loading thermal bits into the initramfs
  19.  
  20. . /usr/share/initramfs-tools/hook-functions
  21.  
  22. case "$DPKG_ARCH" in
  23. # copy the right modules
  24. powerpc|ppc64)
  25.     force_load therm_pm72
  26.     force_load windfarm_core
  27.     force_load windfarm_cpufreq_clamp
  28.     force_load windfarm_lm75_sensor
  29.     force_load windfarm_max6690_sensor
  30.     force_load windfarm_pid
  31.     force_load windfarm_pm112
  32.     force_load windfarm_pm81
  33.     force_load windfarm_pm91
  34.     force_load windfarm_smu_controls
  35.     force_load windfarm_smu_sat
  36.     force_load windfarm_smu_sensors
  37.     force_load i2c-powermac
  38.     ;;
  39. i386|amd64|ia64|lpia)
  40.     force_load fan
  41.     force_load thermal
  42.     ;;
  43. esac
  44.